package com.hotel.project.demo.service;

import com.hotel.project.demo.domain.HotelEntity;
import com.hotel.project.demo.service.base.ICurdService;


public interface HotelService extends ICurdService<HotelEntity> {

    boolean updateHotelCache(Long id,String hotelName);
    boolean updateHotelEvaluateCache(String hotelName,Integer evaluateScore);

    boolean updateHotelSaleCache(String hotelName,Integer saleCount);

    boolean updateHotelCollectCache(String hotelName,Integer collectCount);

    int updateHotelStatus(Long id,String hotelName,Integer deleted);
}
